export default {
  computed: {
    isShowMixin: {
      get () { return this.show },
      set (val) {
        this.$emit('update:show', val)
        if (!val) this.$emit('close')
      },
    },
  },
}
